package jmine.tec.web.wicket.exception;

import bancosys.tec.exception.AbstractRuntimeException;
import bancosys.tec.exception.LocalizedMessageHolder;

/**
 * Throws when a validation process fails due to unexpected errors. This is not the same as a validation returning false. 
 * 
 * @author seiti
 * Jun 20, 2012
 */
public class ValidationException extends AbstractRuntimeException {

    /**
     * Ctor
     * 
     * @param messageHolder messageHolder
     */
    public ValidationException(LocalizedMessageHolder messageHolder) {
        super(messageHolder);
    }

    /**
     * Ctor
     * 
     * @param messageHolder messageHolder
     * @param cause cause
     */
    public ValidationException(LocalizedMessageHolder messageHolder, final Throwable cause) {
        super(messageHolder);
    }
}
